from PyQt5.QtCore import QSize
from PyQt5.QtWidgets import QDockWidget


def init_docks(app):
    d1 = QDockWidget("")
    d1.setMinimumSize(QSize(1000, 200))
    d1.setFeatures(QDockWidget.DockWidgetMovable | QDockWidget.DockWidgetFloatable)


    docks = {
        'main': d1,
    }
    layout = [('add', 'left', 'main'),
              ]
    app.init_docks(docks, layout)
